package com.llamarun;

import com.llamarun.R;
import android.app.Activity;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.os.Bundle;
import android.widget.Button;
import android.util.Log;
import android.view.*;
import android.widget.Toast;



public class OptionsActivity extends Activity{

	private static final String TAG = OptionsActivity.class.getSimpleName();
	
	 @Override
	    public void onCreate(Bundle savedInstanceState) {
	        super.onCreate(savedInstanceState);
	        Log.d(TAG, "onCreate");
	        requestWindowFeature(Window.FEATURE_NO_TITLE);
	        setContentView(R.layout.options);
	        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
	        setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
	    }
	 
	 @Override
	    protected void onDestroy()
	    {
	    	Log.d(TAG, "Destroying...");
	    	super.onDestroy();
	    }
	     
	    @Override
	    protected void onStop() 
	    {
	    	Log.d(TAG, "Stopping...");
	    	super.onStop();
	    }
	    @Override
	    protected void onRestart()
	    {
	    	Log.d(TAG, "restarting...");
	    	super.onRestart();
	    }
	    @Override
	    protected void onResume()
	    {
	    	Log.d(TAG, "resuming...");
	    	super.onResume();
	    }
	 
	 public void onBack(View v) {
		 Log.d(TAG, "onBack");
		 finish();
	 }
	    
}
